package com.zsc.wxm.ysh.anjo.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsc.wxm.ysh.anjo.house.model.HouseCollection;
import com.zsc.wxm.ysh.anjo.service.base.model.resources.dto.HouseCollectionDTO;
import com.zsc.wxm.ysh.anjo.service.base.model.resources.vo.HouseCollectionVO;

import java.util.List;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/3/23 23:07
 */
public interface HouseCollectionService extends IService<HouseCollection> {

    /**
     * 新增
     *
     * @param param 参数
     */
    void add(HouseCollectionDTO param);


    /**
     * 获取收藏数据
     *
     * @param userId
     * @return
     */
    List<HouseCollectionVO> listByUserId(Long userId);
}
